get value from user input field